package com.lh0811.forge.pserv.uacs.api.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class ReSetPasswordParam implements Serializable {

    @NotBlank(message = "旧密码未填写!")
    @Schema(description = "旧密码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String oldPwd;

    @NotBlank(message = "新密码未填写!")
    @Schema(description = "新密码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String newPwd;

    @NotBlank(message = "确认密码未填写!")
    @Schema(description = "确认密码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String reSurePwd;

}
